//
//  API.h
//  WGFGlobalHouses
//
//  Created by welldone on 15/5/5.
//  Copyright (c) 2015年 waiguofang. All rights reserved.
//

#import <Foundation/Foundation.h>


//xmpp
#define SERVER_NAME @"im.wgfcdn.com"

#define SERVER_IP @"im.wgfcdn.com"       //192.168.2.233 debug  登录服务器

#define REG_SERVER_IP @"api.im.wgfcdn.com"       //192.168.2.233  注册xmpp用户

#define PD_SERVER_IP @"api.im.wgfcdn.com"       //192.168.2.233  判断xmpp用户是否在线离线非用户




//andy
#define HourseList @"premises/premiseslist/" //首页
#define HourseDetail @"premises/premisesdetail/" //楼盘详情
#define UserInfo_jxs @"agency/info/" //经销商用户信息
#define HeadImgUp @"usercenter/upload" //头像上传
#define OrderList @"usercenter/myorders/" //我的订单列表
#define OrderDetail @"usercenter/orderdatail" //我的订单详情
#define BrokerList @"agency/brokers/" //经纪人列表 
#define StoreList @"agency/storebrokerlist/" //selecteStore 列表
#define CommissionManage @"usercenter/brokeragestatistic/" // 佣金管理
#define CommissionTJ @"usercenter/brokeragelist/" // 佣金统计列表
#define StoreCommissionList @"agency/storemanagelist/" // 门店佣金列表
#define StoreCommissionDetail @"agency/brokers/" // 门店佣金详情

#define UpDataToken @"user/token/"  //更新push token
#define UserCread @"user/create/" //注册xmpp用户

#define HourseCommentList @"premises/commentList/" //楼盘评论
#define AddComment @"premises/commentAdd/" //新建评论
#define AddCommentPic @"premises/commentUpload/" //评论图片



//linda(

#define advertise @"account/advertise" //获取广告图片
#define fangxingList @"premises/premiseshousinglist/"  //房屋房型
#define HouseDetail @"premises/premiseshousingdetail" //房屋详情

//登陆
#define login @"account/login"   //登录
#define  captcha @"account/captcha/"  //获取验证码
#define addconsumercaptcha1 @"account/addconsumercaptcha/" //添加客户获取验证码
#define brokerregistercaptcha1 @"account/brokerregistercaptcha/" //经纪人注册获取验证码
#define  activitymobile @"account/activitymobile/" //激活用户
#define  resetpwd @"account/resetpwd"  //重置密码(忘记密码）
#define  brokerregister @"/broker/brokerregister" //经纪人注册

#define  modifypwd @"usercenter/modifypwd"  //修改密码（系统设置中）

//经纪人角色
#define  brokerinfo @"broker/brokerinfo/" //经纪人信息（经纪人角色）
#define  consumerlist  @"broker/consumerlist/" //真实客户列表（经纪人角色）
#define  potentialconsumerlist  @"broker/potentialconsumerlist/" //潜在客户列表
#define  bindpremises @"broker/bindpremises"  //绑定楼盘
#define  premiseslist  @"usercenter/premiseslist/" //楼盘列表
#define  modifyconsumerstatus @"/broker/modifyconsumerstatus/" //修改客户状态（禁用，启用，经纪人角色）
#define  potentialchangtoreal @"broker/potentialchangtoreal/" //转为真实客户
#define  lockpotential  @"broker/lockpotential" //锁定客户

#define  addconsumer @"broker/addconsumer/"  //添加客户（真实客户）
#define  ddpotentialconsumer @"broker/addpotentialconsumer/" //添加潜在客户

#define  updatepotentialconsumer  @"broker/updatepotentialconsumer/" //编辑潜在客户
#define  updateconsumer @"broker/updateconsumer/" //编辑真实客户

#define batchmodifystatus @"broker/batchmodifystatus" //批量操作（启用，禁用客户）

#define orderapply @"broker/orderapply/" //线下下单申请


//客户角色
#define  customerInfo @"customer/info/" //获取用户信息
#define  customerUpdata @"customer/update" //修改客户信息

#define addconsumercaptcha1 @"account/addconsumercaptcha/" //添加客户获取验证码
#define brokerregistercaptcha1 @"account/brokerregistercaptcha/" //经纪人注册获取验证码




//经销商角色

//经纪人管理模块
#define  modifyuserstatus @"agency/modifyuserstatus"  //修改经纪人状态（单个启用，禁用）
#define  createshop @"agency/createshop" //添加门店
#define  changeshop  @"agency/changeshop" // 经纪人移动，（转门店）
#define  createbroker  @"agency/createbroker" //添加经纪人
#define  batchmodifyuserstatus  @"agency/batchmodifyuserstatus" //批量启用，禁用
#define  batchchangeshop @"agency/batchchangeshop" //批量移动门店
#define  modifybroker @"/agency/modifybroker" //编辑（经纪人）

//门店管理
#define  storemanagelist  @"agency/storemanagelist/" //门店列表
#define  batchmodifystorestatus  @"agency/batchmodifystorestatus" //批量启用，禁用（门店）
#define  modifystorestatus  @"agency/modifystorestatus" //启用，禁用（单个操作)
#define  modifystore  @"/agency/modifystore" //编辑（门店）

#define  feedback   @"usercenter/feedback"//意见反馈
#define  feedback2 @"usercenter/feedbacknew" //v2版的意见反馈


#define prmisesSearch @"/premises/premisesSearch" //首页搜索




@interface API : NSObject

+(NSString*)urlMake2:(NSString*)urlBaby;

+(NSString *)urlMake:(NSString *)urlBaby;

+(NSString*)imgUrlMake:(NSString*)imgPath;

+(NSString*)videoUrlMake:(NSString*)videoPath;

+(NSString*)pdfUrlMake:(NSString*)pdfPath;


@end
